home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Magazine / UsingPDF / GhostScript / source / gs5.10 / ansihead.mak < prev    next >
Encoding:
Text File  |  1997-11-11  |  9.3 KB  |  284 lines

  1. #    Copyright (C) 1989, 1995, 1996, 1997 Aladdin Enterprises.  All rights reserved.
  2. # This file is part of Aladdin Ghostscript.
  3. # Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  4. # or distributor accepts any responsibility for the consequences of using it,
  5. # or for whether it serves any particular purpose or works at all, unless he
  6. # or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  7. # License (the "License") for full details.
  8. # Every copy of Aladdin Ghostscript must include a copy of the License,
  9. # normally in a plain ASCII text file named PUBLIC.  The License grants you
  10. # the right to copy, modify and redistribute Aladdin Ghostscript, but only
  11. # under certain conditions described in the License.  Among other things, the
  12. # License requires that the copyright notice and this notice be preserved on
  13. # all copies.
  14.  
  15. # makefile for Unix/ANSI C/X11 configuration.
  16.  
  17. #****************************************************************#
  18. #   If you want to change options, DO NOT edit unixansi.mak      #
  19. #   or makefile.  Edit ansihead.mak and run the tar_cat script.  #
  20. #****************************************************************#
  21.  
  22. # ------------------------------- Options ------------------------------- #
  23.  
  24. ####### The following are the only parts of the file you should need to edit.
  25.  
  26. # ------ Generic options ------ #
  27.  
  28. # Define the installation commands and target directories for
  29. # executables and files.  The commands are only relevant to `make install';
  30. # the directories also define the default search path for the
  31. # initialization files (gs_*.ps) and the fonts.
  32.  
  33. # If your system has installbsd, change install to installbsd in the next line.
  34. INSTALL = install -c
  35. INSTALL_PROGRAM = $(INSTALL) -m 755
  36. INSTALL_DATA = $(INSTALL) -m 644
  37.  
  38. prefix = /usr/local
  39. exec_prefix = $(prefix)
  40. bindir = $(exec_prefix)/bin
  41. scriptdir = $(bindir)
  42. mandir = $(prefix)/man
  43. man1ext = 1
  44. man1dir = $(mandir)/man$(man1ext)
  45. datadir = $(prefix)/share
  46. gsdir = $(datadir)/ghostscript
  47. gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
  48.  
  49. docdir=$(gsdatadir)/doc
  50. exdir=$(gsdatadir)/examples
  51. GS_DOCDIR=$(docdir)
  52.  
  53. # Define the default directory/ies for the runtime initialization and
  54. # font files.  Separate multiple directories with a :.
  55.  
  56. GS_LIB_DEFAULT=$(gsdatadir):$(gsdir)/fonts
  57.  
  58. # Define whether or not searching for initialization files should always
  59. # look in the current directory first.  This leads to well-known security
  60. # and confusion problems, but users insist on it.
  61. # NOTE: this also affects searching for files named on the command line:
  62. # see the "File searching" section of use.txt for full details.
  63. # Because of this, setting SEARCH_HERE_FIRST to 0 is not recommended.
  64.  
  65. SEARCH_HERE_FIRST=1
  66.  
  67. # Define the name of the interpreter initialization file.
  68. # (There is no reason to change this.)
  69.  
  70. GS_INIT=gs_init.ps
  71.  
  72. # Choose generic configuration options.
  73.  
  74. # -DDEBUG
  75. #    includes debugging features (-Z switch) in the code.
  76. #      Code runs substantially slower even if no debugging switches
  77. #      are set.
  78. # -DNOPRIVATE
  79. #    makes private (static) procedures and variables public,
  80. #      so they are visible to the debugger and profiler.
  81. #      No execution time or space penalty.
  82.  
  83. GENOPT=
  84.  
  85. # Define the name of the executable file.
  86.  
  87. GS=gs
  88.  
  89. # Define the directory where the IJG JPEG library sources are stored,
  90. # and the major version of the library that is stored there.
  91. # You may need to change this if the IJG library version changes.
  92. # See jpeg.mak for more information.
  93.  
  94. JSRCDIR=jpeg-6a
  95. JVERSION=6
  96.  
  97. # Define the directory where the PNG library sources are stored,
  98. # and the version of the library that is stored there.
  99. # You may need to change this if the libpng version changes.
  100. # See libpng.mak for more information.
  101.  
  102. PSRCDIR=libpng
  103. PVERSION=96
  104.  
  105. # Choose whether to use a shared version of the PNG library, and if so,
  106. # what its name is.
  107. # See gs.mak and make.txt for more information.
  108.  
  109. SHARE_LIBPNG=0
  110. LIBPNG_NAME=png
  111.  
  112. # Define the directory where the zlib sources are stored.
  113. # See zlib.mak for more information.
  114.  
  115. ZSRCDIR=zlib
  116.  
  117. # Choose whether to use a shared version of the zlib library, and if so,
  118. # what its name is (usually libz, but sometimes libgz).
  119. # See gs.mak and make.txt for more information.
  120.  
  121. SHARE_ZLIB=0
  122. #ZLIB_NAME=gz
  123. ZLIB_NAME=z
  124.  
  125. # Define how to build the library archives.  (These are not used in any
  126. # standard configuration.)
  127.  
  128. AR=ar
  129. ARFLAGS=qc
  130. RANLIB=ranlib
  131.  
  132. # Define the configuration ID.  Read gs.mak carefully before changing this.
  133.  
  134. CONFIG=
  135.  
  136. # ------ Platform-specific options ------ #
  137.  
  138. # Define the name of the C compiler.  If the standard compiler for your
  139. # platform is ANSI-compatible, leave this line commented out; if not,
  140. # uncomment the line and insert the proper definition.
  141.  
  142. #CC=some_C_compiler
  143.  
  144. # Define the name of the linker for the final link step.
  145. # Normally this is the same as the C compiler.
  146.  
  147. CCLD=$(CC)
  148.  
  149. # Define the other compilation flags.  Add at most one of the following:
  150. #    -Aa -w -D_HPUX_SOURCE for the HP 400.
  151. #    -DBSD4_2 for 4.2bsd systems.
  152. #    -DSYSV for System V or DG/UX.
  153. #    -DSVR4 -DSVR4_0 (not -DSYSV) for System V release 4.0.
  154. #    -DSVR4 (not -DSYSV) for System V release 4.2 (or later) and Solaris 2.
  155. # XCFLAGS can be set from the command line.
  156. XCFLAGS=
  157.  
  158. CFLAGS=-O $(XCFLAGS)
  159.  
  160. # Define platform flags for ld.
  161. # SunOS and some others want -X; Ultrix wants -x.
  162. # SunOS 4.n may need -Bstatic.
  163. # Apollos running DomainOS don't support -X (and -x has no effect).
  164. # XLDFLAGS can be set from the command line.
  165. XLDFLAGS=
  166.  
  167. LDFLAGS=$(XLDFLAGS)
  168.  
  169. # Define any extra libraries to link into the executable.
  170. # ISC Unix 2.2 wants -linet.
  171. # SCO Unix needs -lsocket if you aren't including the X11 driver.
  172. # SVR4 may need -lnsl.
  173. # (Libraries required by individual drivers are handled automatically.)
  174.  
  175. EXTRALIBS=
  176.  
  177. # Define the include switch(es) for the X11 header files.
  178. # This can be null if handled in some other way (e.g., the files are
  179. # in /usr/include, or the directory is supplied by an environment variable);
  180. # in particular, SCO Xenix, Unix, and ODT just want
  181. #XINCLUDE=
  182. # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
  183. # not in $(XINCLUDE).
  184.  
  185. XINCLUDE=-I/usr/local/X/include
  186.  
  187. # Define the directory/ies and library names for the X11 library files.
  188. # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
  189. # (dynamic libraries on SVR4) and should not include -L.
  190. # Both can be null if these files are in the default linker search path;
  191. # in particular, SCO Xenix, Unix, and ODT just want
  192. #XLIBDIRS=
  193. # Solaris and other SVR4 systems with dynamic linking probably want
  194. #XLIBDIRS=-L/usr/openwin/lib
  195. #XLIBDIR=/usr/openwin/lib
  196. # X11R6 (on any platform) may need
  197. #XLIBS=Xt SM ICE Xext X11
  198.  
  199. XLIBDIRS=-L/usr/local/X/lib
  200. XLIBDIR=
  201. XLIBS=Xt Xext X11
  202.  
  203. # Define whether this platform has floating point hardware:
  204. #    FPU_TYPE=2 means floating point is faster than fixed point.
  205. # (This is the case on some RISCs with multiple instruction dispatch.)
  206. #    FPU_TYPE=1 means floating point is at worst only slightly slower
  207. # than fixed point.
  208. #    FPU_TYPE=0 means that floating point may be considerably slower.
  209. #    FPU_TYPE=-1 means that floating point is always much slower than
  210. # fixed point.
  211.  
  212. FPU_TYPE=1
  213.  
  214. # ------ Devices and features ------ #
  215.  
  216. # Choose the language feature(s) to include.  See gs.mak for details.
  217.  
  218. FEATURE_DEVS=level2.dev pdf.dev pipe.dev
  219.  
  220. # Choose whether to compile the .ps initialization files into the executable.
  221. # See gs.mak for details.
  222.  
  223. COMPILE_INITS=0
  224.  
  225. # Choose whether to store band lists on files or in memory.
  226. # The choices are 'file' or 'memory'.
  227.  
  228. BAND_LIST_STORAGE=file
  229.  
  230. # Choose which compression method to use when storing band lists in memory.
  231. # The choices are 'lzw' or 'zlib'.  lzw is not recommended, because the
  232. # LZW-compatible code in Ghostscript doesn't actually compress its input.
  233.  
  234. BAND_LIST_COMPRESSOR=zlib
  235.  
  236. # Choose the implementation of file I/O: 'stdio', 'fd', or 'both'.
  237. # See gs.mak and sfxfd.c for more details.
  238.  
  239. FILE_IMPLEMENTATION=stdio
  240.  
  241. # Choose the device(s) to include.  See devs.mak for details.
  242.  
  243. DEVICE_DEVS=x11.dev x11alpha.dev x11cmyk.dev x11mono.dev
  244. DEVICE_DEVS1=
  245. DEVICE_DEVS2=
  246. DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
  247. DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
  248. DEVICE_DEVS5=uniprint.dev
  249. DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
  250. DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
  251. DEVICE_DEVS8=jpeg.dev jpeggray.dev pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev
  252. DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev
  253. DEVICE_DEVS10=tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev tifflzw.dev tiffpack.dev
  254. DEVICE_DEVS11=tiff12nc.dev tiff24nc.dev
  255. DEVICE_DEVS12=psmono.dev psgray.dev bit.dev bitrgb.dev bitcmyk.dev
  256. DEVICE_DEVS13=pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev
  257. DEVICE_DEVS14=
  258. DEVICE_DEVS15=pdfwrite.dev pswrite.dev epswrite.dev pxlmono.dev pxlcolor.dev
  259.  
  260. # ---------------------------- End of options --------------------------- #
  261.  
  262. # Define the name of the partial makefile that specifies options --
  263. # used in dependencies.
  264.  
  265. MAKEFILE=ansihead.mak
  266.  
  267. # Define the ANSI-to-K&R dependency (none for ANSI compilers).
  268.  
  269. AK=
  270.  
  271. # Define the compilation rules and flags.
  272.  
  273. CCC=$(CC) $(CCFLAGS) -c
  274. CCAUX=$(CC)
  275. CCLEAF=$(CCC)
  276.  
  277. # --------------------------- Generic makefile ---------------------------- #
  278.  
  279. # The remainder of the makefile is generic.
  280. # tar_cat concatenates this makefile with the generic makefiles.
  281.